.w1210{
    width: 1210px;
    margin: 0 auto;
}

.main{
    width: 100%;
    background-color: #f1f1f1;
    .detailbox{
        display: flex;
        flex-direction: column;
        .title{
            width: 1204px;
            height: 45px;
            padding-left: 6px;
            display: flex;
            line-height: 45px;
            b{
                font-size: 16px;
            }
            span{
                font-size: 12px;
            }
            i{
                font-size: 12px;
                color: #aaa;
                font-style: normal;
                margin-left: 10px;
                margin-right: 10px;
            }
            em{
                font-style: normal;
                font-size: 12px;
                color: #999;
            }
        }
        .mainbox{
            background-color: #fff;
            height: 450px;
            margin-bottom: 20px;
            display: flex;
            .enlarge{
                width: 350px;
                height: 450px;
                padding-left: 15px;
                position: relative;
//此处是放大镜右侧部分
                .enlargebox{
                    width: 400px;
                    height: 400px;
                    box-sizing: border-box;
                    border: 1px solid #999;
                    position: absolute;
                    z-index: 999;
                    left: 380px;
                    top: 0;
                    display: none;
                    overflow: hidden;
                    >img{
                        position: absolute;
                    }
                }
                .top{
                    width: 350px;
                    height: 350px;
                    margin: 14px 0 14px 0;
                    position: relative;
                    >img{
                        width: 100%;
                        height: 100%;
                        pointer-events: none;
                    }
// 此处是放大镜 遮罩部分
                    .mask{
                        display: none;
                        width: 175px;
                        height: 175px;
                        position: absolute;
                        left: 0;
                        top: 0;
                        background-color: #333 ;
                        opacity: calc(0.5);
                        cursor: pointer;
                        pointer-events: none;
                    }
                }
                .bottom{
                    width: 350px;
                    height: 60px;
                    >ul{
                        display: flex;
                        li{
                            box-sizing: border-box;
                            width: 60px;
                            height: 60px;
                            margin: 0 5px;
                            >img{
                                width: 100%;
                                height: 100%;
                            }

                        }
                        li:hover{
                            border:1px solid #e13335;
                        }
                    }
                }
            }
            .right{
                width: 588px;
                .gooods-title{
                    padding: 15px;
                    font-weight: 600;
                    color: #666;
                }   
                .pricebox{
                    padding: 10px 20px 40px 20px;
                    background-color: #f1f1f1;
                    display: flex;
                    position: relative;
                    align-items: center;
                    span{
                        font-size: 12px;
                        color: #666;
                        padding-right: 10px;
                    }
                    h3{
                        font-size: 18px;
                        color: #f32;
                        font-weight: 600;
                        margin-right: 10px;
                    }
                    em{
                        font-style: normal;
                        text-decoration: line-through;
                        font-size: 12px;
                    }
                    div{
                        font-size: 12px;
                        position: absolute;
                        color: #999;
                        right: 10px;
                        text-align: center;
                        padding-left: 10px;
                        border-left: 1px solid #ddd;
                        a{
                            font-size: 14px;
                            color: #005aa0;
                        }
                    }
                }
                .shopserver{
                    margin:  15px;
                    font-size: 12px;
                    border-bottom: 1px solid #ddd;
                    p{
                        display: flex;
                        margin-bottom: 10px;
                        span{
                            display: block;
                            padding-right: 10px;
                        }
                        a{
                            display: inline-block;
                            padding: 0 10px;
                            background-color: #eb676a;
                            height: 18px;
                            border-radius: 2px;
                            color: #fff;
                        }
                        em,i{
                            font-style: normal;
                        }
                        b{
                            display: flex;
                            margin-left: 280px;
                            font-weight: normal;
                            color: #999;
                            span{
                                color: #eb676a;
                                padding-right: 0px;
                                padding-left: 10px;
                            }
                        }
                    }
                }
                .choose-wrap{
                    width: 577px;
                    margin: 5px 0 0 11px;
                    padding: 20px;
                    display: flex;
                    align-items: center;
                    font-size: 12px;
                    >div{
                        margin: 0 5px;
                    }
                    .choose{
                        display: flex;
                        border: 1px solid #999;
                        >input{
                            display: block;
                            width: 30px;
                            height: 30px;
                            text-align: center;
                            border: none;
                            outline: none;
                        }
                        div{
                            display: flex;
                            flex-direction: column;
                            >input{
                                display: block;
                                height: 15px;
                                width: 15px;
                                border: none;
                            }
                        }
                    }
                }
                .buy{
                    display: flex;
                    padding-left: 40px;
                    a{
                        padding: 10px 15px;
                        font-size: 14px;
                        border: 1px solid #999;
                        border-radius: 5px;
                        margin-left: 15px;
                    }
                    .buynow{
                        color: #fff;
                        background: #ba7538;
                    }
                    .toshopcart{
                        color: #fff;
                        background-color: #e13335;
                    }
                    .hover:hover{
                        background: #ddd;
                    }
                }


            }
            .shops{
                margin-top: 20px;
                width: 244px;
                ul>li{
                    margin-left: 10px;
                    border-bottom: 1px solid #f1f1f1;
                    font-size: 12px;
                    p{
                        padding: 5px;
                        color:#999;
                    }
                    i{
                        font-style: normal;
                        color: #f32;
                    }
                    a{
                        padding: 5px;
                        color: #005aa0;
                    }
                    span{
                        padding: 5px;
                        color: #666;
                    }
                    h3{
                        padding: 5px;
                        color: #666;
                    };
                }
                .last{
                    display: flex;
                    justify-content: center;
                    input{
                        padding: 4px;
                        margin:10px;
                    }
                }
            }
        }   
    }
}
